package com.school.common.util;

import org.apache.commons.dbcp.BasicDataSource;

import com.school.common.constant.Constant;

public class DataSourceUtils extends BasicDataSource {

	public synchronized void setPassword(String password) {
		password = new String(AesUtils.decrypt(password, Constant.AES_KEY));
		super.setPassword(password);
	}
}
